import pytest,time
from YK_liushuai.Tool.Tools import log,youjian
# 时间戳
t=time.strftime("%Y%m%d-%H%M%S",time.localtime())
if __name__ == '__main__':
    log()
    pytest.main(['D:\Gao5\pythonProject\YK_liushuai\Test_case\Test_case.py','-s',f'--html={t}.html'])
    youjian([f'{t}.html',f'{t}.log'])